﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MessageBoard.aspx.cs" Inherits="ZLCMS.Web.Example.MessageBoard.MessageBoard" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>

            <asp:repeater runat="server" id="rp_message">
                <ItemTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td colspan="2"><%# Eval("Title") %></td>
</tr>
<tr>
    <td><%# Eval("Author") %></td>
    <td><%# Eval("Addtime") %></td>
</tr>
<tr>
    <td colspan="2"><%# Eval("Content") %></td>
</tr>
<tr>
    <td colspan="2">
        <%# GetMessageReply((int)Eval("Id"))%>
    </td>
    </tr>
    <tr><td colspan="2">&nbsp;<hr />&nbsp;</td></tr>
</table>
                </ItemTemplate>
            </asp:repeater>

</td></tr>
<tr><td><a href="./MessageAdd.aspx" target="_self" style="color: #FF0000">发表留言</a></td></tr>
</table>

    </div>
    </form>
</body>
</html>
